cmake_minimum_required(VERSION 3.20)
project(cmake_test)
message("begin cmake")
include("cmake/test.cmake")
include("cmake/test1.cmake" OPTIONAL) #可选文件不存在不报错
include("cmake/test1.cmake" OPTIONAL RESULT_VARIABLE ret) #可选文件不存在不报错
message("end cmake")